package com.xiaodeng.xdblogspringboot.pojo;

import com.xiaodeng.xdblogspringboot.anno.ApplicationState;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Application {
    private Integer id;
    private Integer articleId; //文章ID，外键，关联到文章表
    private Integer applicantId; //申请人ID，外键，关联到用户表
    private LocalDateTime applicationTime; //申请时间
    private Integer auditorId; //审核人ID，外键，关联到管理员表
    private LocalDateTime auditTime; //审核时间
    @ApplicationState
    private String auditStatus; //审核状态:待审核,审核成功,审核失败
    private String auditReason; //审核失败原因
}
